#ifndef __VERTEX_H
#define __VERTEX_H

#include "D3dUtility.h"

namespace Vertex
{
    struct Basic32
    {
        XMFLOAT3 Pos;
        XMFLOAT3 Normal;
        XMFLOAT2 Tex;
    };

    struct TreePointSprite
    {
        XMFLOAT3 Pos;
        XMFLOAT2 Size;
    };
}

class InputLayoutDesc
{
public:
    static const D3D11_INPUT_ELEMENT_DESC Basic32[3];
    static const D3D11_INPUT_ELEMENT_DESC TreePointSprite[2];
};

class InputLayouts
{
public:
    static void InitAll(ID3D11Device* device);
    static void DestroyAll();

    static ID3D11InputLayout* Basic32;
    static ID3D11InputLayout* TreePointSprite;
};

#endif